// 集中封装axios请求方法
import axios from "axios";
import { ID, KEY } from "./config";

//instance影分身
const instance = axios.create({
  baseURL: "https://nkb8zg91.lc-cn-n1-shared.com/1.1", //接口基本地址链接
  headers: {
    "X-LC-Id": ID,
    "X-LC-Key": KEY,
    "Content-Type": "application/json",
  },
});
export default instance;
